package com.cqwshzj.thread.bean;/**
 * @Description:
 * @Auther: Huang Zhijin
 * @Version: 1.0.0
 * @Date: 2021/4/12 10:43
 */

import java.io.Serializable;

/**
 * 〈〉
 *
 * @author Huang Zhijin
 * @create 2021/4/12
 * @since 1.0.0
 */
public interface Stateable {

	Serializable getIdentityField();

	/**
	 * 获取状态
	 * @return
	 */
	String getState();

	/**
	 * 设置状态
	 * @param state 状态
	 * @return
	 */
	void setState(String state);

}
